package com.ubtechinc.cruzr.libai.honglauncher;

import com.ubtechinc.cruzr.libai.honglauncher.db.AppInfoEntity;

import java.util.List;

public class ItemData {
    private int type;
    private List<AppInfoEntity> firstPageAppInfo;
    private AppInfoEntity commonAppInfo;

    public ItemData(int type, List<AppInfoEntity> firstPageAppInfo) {
        this.type = type;
        this.firstPageAppInfo = firstPageAppInfo;
        commonAppInfo = null;
    }

    public ItemData(int type, AppInfoEntity commonAppInfo) {
        this.type = type;
        this.commonAppInfo = commonAppInfo;
        firstPageAppInfo = null;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<AppInfoEntity> getFirstPageAppInfo() {
        return firstPageAppInfo;
    }

    public void setFirstPageAppInfo(List<AppInfoEntity> firstPageAppInfo) {
        this.firstPageAppInfo = firstPageAppInfo;
    }

    public AppInfoEntity getCommonAppInfo() {
        return commonAppInfo;
    }

    public void setCommonAppInfo(AppInfoEntity commonAppInfo) {
        this.commonAppInfo = commonAppInfo;
    }
}
